# -*- coding: utf-8 -*-
# @Author: Lemongman

import pyautogui


img = r'tmpImg\11ddeb82-4e7f-11ec-8975-48a472afe1f4.png'

location = pyautogui.locateOnScreen(img, confidence=0.9)
if location:
    x, y = pyautogui.center(location)
    print(location)
    print(x, y)
    pyautogui.moveTo(x, y, duration=0.25)
    pyautogui.click(x, y, clicks=1, interval=0.2, duration=0.2, button='left')









